From 6353433f0ef40cfb3c5e5dcf5a5935e4e215c9f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Wed, 8 Feb 2017 09:14:20 +0100 Subject: [PATCH] Make gtk_container_set_focus_child private --- docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkcontainer.h | 4 ---- gtk/gtkcontainerprivate.h | 3 +++ 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt index 9366f16f4c..9f5532eb3d 100644 --- a/docs/reference/gtk/gtk4-sections.txt +++ b/docs/reference/gtk/gtk4-sections.txt @@ -720,7 +720,6 @@ gtk_container_check_resize gtk_container_foreach gtk_container_get_children gtk_container_get_path_for_child -gtk_container_set_focus_child gtk_container_get_focus_vadjustment gtk_container_set_focus_vadjustment gtk_container_get_focus_hadjustment diff --git a/gtk/gtkcontainer.h b/gtk/gtkcontainer.h index f55950315a..f4c88d45f0 100644 --- a/gtk/gtkcontainer.h +++ b/gtk/gtkcontainer.h @@ -153,10 +153,6 @@ GDK_AVAILABLE_IN_ALL void gtk_container_unset_focus_chain (GtkContainer *container); /* Widget-level methods */ - -GDK_AVAILABLE_IN_ALL -void gtk_container_set_focus_child (GtkContainer *container, - GtkWidget *child); GDK_AVAILABLE_IN_ALL void gtk_container_set_focus_vadjustment (GtkContainer *container, GtkAdjustment *adjustment); diff --git a/gtk/gtkcontainerprivate.h b/gtk/gtkcontainerprivate.h index 5cd640da69..a737744628 100644 --- a/gtk/gtkcontainerprivate.h +++ b/gtk/gtkcontainerprivate.h @@ -38,6 +38,9 @@ void _gtk_container_stop_idle_sizer (GtkContainer *container); void _gtk_container_maybe_start_idle_sizer (GtkContainer *container); void gtk_container_get_children_clip (GtkContainer *container, GtkAllocation *out_clip); +void gtk_container_set_focus_child (GtkContainer *container, + GtkWidget *child); + G_END_DECLS -- 2.30.2